A Floating - point to Fixed - point C Converterfor Fixed - point Digital Signal
نویسندگان
چکیده
An automatic scaling C program translator is developed for the eecient execution of application programs in xed-point digital signal processors. The program for range estimation is automatically generated by inserting codes which collect the statistics of each signal during the simulation. With the range information, the number of shifts needed for the scaling is determined and the oating-point program is converted to a xed-point program by type modiication, insertion of scaling codes, and using xed-point multiplications which are important to preserve xed-point accuracy. The SUIF (Stanford University Intermediate Format) system is used for parsing the original program, inserting the range estimation code, and generating the translated code. A fourth order IIR lter and an ADPCM codec are implemented on Texas Instruments' TMS320C5x as examples. The xed-point C codes are 5 to 14 times faster than the oating-point programs with acceptable nite word-length eeects in these examples.
منابع مشابه
Design and Implementation of Numerical Linear Algebra Algorithms on Fixed Point DSPs
Numerical linear algebra algorithms use the inherent elegance of matrix formulations and are usually implemented using C/C++ floating point representation. The system implementation is faced with practical constraints because these algorithms usually need to run in real time on fixed point digital signal processors (DSPs) to reduce total hardware costs. Converting the simulation model to fixed ...
متن کاملReducing Latency, Power, and Gate Count with the Tensilica Floating-Point FMA
Today’s digital signal processing applications such as radar, echo cancellation, and image processing are demanding more dynamic range and computation accuracy. Floating-point arithmetic units offer better precision, higher dynamic range, and shorter development cycles when compared to fixed-point arithmetic units. Minimizing the design’s time to market is more important than ever. Algorithm de...
متن کاملFloating-to-Fixed-Point Conversion for Digital Signal Processors
Digital signal processing applications are specified with floating-point data types but they are usually implemented in embedded systems with fixed-point arithmetic to minimise cost and power consumption. Thus, methodologies which establish automatically the fixed-point specification are required to reduce the application time-to-market. In this paper, a new methodology for the floating-to-fixe...
متن کاملA floating-point to integer C converter with shift reduction for fixed-point digital signal processors
A floating-point to integer C program translator is developed for convenient programming and efficient use of fixed-point programmable digital signal processors (DSP’s). It not only converts data types and supports automatic scaling, but also conducts shift optimization to enhance execution speed. Since the input and output of this translator are ANSI C compliant programs, it can be used for an...
متن کاملA Block Floating Point Implementation for an N-Point FFT on the TMS320C55x DSP
A block floating-point (BFP) implementation provides an innovative method of floating-point emulation on a fixed-point processor. This application report implements the BFP algorithm for the Fast Fourier Transform (FFT) algorithm on a Texas Instruments (TI) TMS320C55x DSP by taking advantage of the CPU exponent encoder. The BFP algorithm as it applies to the FFT allows signal gain adjustment i...
متن کامل